import {useState, Suspense} from 'react'
import logo from './logo.svg'
import './App.css'
import {BrowserRouter} from 'react-router-dom'
import {renderRoutes} from 'react-router-config'
import routes from "@/config";
import './reset.css';

function App() {

  return (
    <BrowserRouter>
      <Suspense fallback={<div/>}>
        {renderRoutes(routes)}
      </Suspense>
    </BrowserRouter>
  )
}

export default App
